package com.zsrt.scott.client;

import com.zsrt.scott.service.impl.StudentEntity;
import com.zsrt.scott.service.impl.StudentService;
import com.zsrt.scott.service.impl.StudentServiceWS;

public class Client {
	
	public static void main(String[] args) {
		
		StudentServiceWS ws = new StudentServiceWS();
		
		StudentService service = ws.getStudentServicePort();
		
		StudentEntity student = new StudentEntity();
		
		student.setId(10);
		student.setAge(33);
		student.setName("scott");
		service.save(student );
	}

}
